<!--
  Generated template for the InputtextPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
  <ion-navbar>
    <ion-buttons start>
      <button ion-button (click)="dismissCLI()">
        <img src="assets/img/back.png" width='15' height='20'>
      </button>
    </ion-buttons>
    <ion-title>{{inputname}}</ion-title>
    <ion-buttons end style="text-align: right;">
      <button ion-button style="color:#666" (click)="dismissokCLI()">完成</button>
    </ion-buttons>
  </ion-navbar>
</ion-header>


<ion-content padding>
  <!-- <ion-list>
  <ion-input type="{{type}}" placeholder="{{placeholder}}" [(ngModel)]="inputvalue" maxlength="{{fontnum}}"></ion-input>
  <button ion-button icon-right clear small class="twobell">
    <ion-badge item-end>9</ion-badge>
  </button>
</ion-list> -->


  <ion-grid *ngIf="normal">
    <ion-row>
      <ion-col col-9>
        <ion-input type="{{type}}" placeholder="{{placeholder}}" [(ngModel)]="inputvalue" maxlength="{{fontnum}}" (ionChange)="onChangeinput()"></ion-input>
      </ion-col>
      <ion-col col-3>
        <button ion-button icon-right clear small (click)='clearinput()'>
          {{count}}/{{fontnum}}
          <img src="assets/img/Comment/guanbi@2x.png" alt="" style="width:16px;height:16px;margin-left:10px;">
        </button>
      </ion-col>
  </ion-row>
  <!-- 昵称提示 -->
  </ion-grid >
  <!-- <div class="only" *ngIf="inputname=='昵称'">
    <span>
      <img src="assets/img/Comment/tishi@2x.png" alt="">
    </span>
    <p>昵称一个月内只能修改一次</p>
    <img src="assets/img/Comment/sanjiao2@2x.png" alt="" class="arrow">
  </div> -->

  <!-- 修改密码 -->
  <ion-list *ngIf="password">
        <ion-item>
            <ion-label color="primary">原密码</ion-label>
            <ion-input type="{{type}}" [(ngModel)]="origin"></ion-input>
        </ion-item>
        <ion-item>
            <ion-label color="primary">新密码</ion-label>
            <ion-input type="text" [(ngModel)]="new"></ion-input>
        </ion-item>
        <span class="stip">6——12位英文字母、数字或符号组成</span>
        <button ion-button full (click)="change()" class="confirm">确定</button>
  </ion-list>
  

</ion-content>
